package devcamp.teama.yahooooooo.dto;

import java.io.Serializable;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class RegistrationDto  implements Serializable{

    @PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    Long id;
    @Persistent
    String userName;
    @Persistent
    String twitterId;
    @Persistent
    boolean registration;
    
    
    
    public RegistrationDto() {
        super();
    }
    
  
    public Long getId() {
        return id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getUserName() {
        return userName;
    }
    public void setUserName(String userName) {
        this.userName = userName;
    }
    public String getTwitterId() {
        return twitterId;
    }
    public void setTwitterId(String twitterId) {
        this.twitterId = twitterId;
    }
    public boolean isRegistration() {
        return registration;
    }
    public void setRegistration(boolean registration) {
        this.registration = registration;
    }
}
